package com.clement.spring.study.listener;

import com.clement.spring.study.event.BlackListEvent;
import lombok.Setter;
import org.springframework.context.event.EventListener;

/**
 * the annotation way of listener config.
 * Created by Clement on 2017/2/28.
 */
@Setter
public class BlackListAnnotationNotifier {

    private String notificationAddress;

    @EventListener
    public void processBlackListEvent(BlackListEvent blackListEvent) {

    }
}
